//
//  ThirdRowCell.m
//  随便点
//
//  Created by ZC on 15/3/16.
//  Copyright (c) 2015年 qfsoft. All rights reserved.
//

#import "ThirdRowCell.h"
#import "NoticeWebViewController.h"
#import "AppDelegate.h"

@implementation ThirdRowCell{
    AppDelegate *delegate;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (IBAction)ToMessage:(id)sender {
    delegate = (AppDelegate *)[[UIApplication sharedApplication]delegate];
    [delegate haveView];
    UIStoryboard *sb = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
    NoticeWebViewController *noticeVC=[sb instantiateViewControllerWithIdentifier:@"NoticeVC"];
    
    [delegate.haveView pushViewController:noticeVC animated:YES];
    
}
@end
